/**=====================
     01. General CSS Start
==========================**/
//Custom css Start
html{
    max-width: 100vw;
    overflow-x: hidden;
}
body {
    font-size:$body-font-size;
    overflow-x:hidden;   
    font-family:$font-montserrat;
    color: $theme-body-font-color;
    background-color:$light-background;
}
ul {
    padding-left: $ul-padding-left;
    list-style-type: none;
    margin-bottom: 0;
    padding-right: $ul-padding-right;
}
a{
    color: var(--theme-deafult);;
    text-decoration: none;
    &:hover{
        text-decoration: none;
    }
}
.btn-link{
    text-decoration:none;
}
*a{
    color: var(--theme-deafult);;
    text-decoration: none;
    &:hover{
        text-decoration: none;
    }
}
*.btn:focus{
    box-shadow : $btn-focus-box-shadow !important;
}
h6{
    font-weight:600;
}
p {
    font-size: $paragraph-font-size;
    line-height: $paragraph-line-height;
    letter-spacing: $paragraph-letter-spacing;   
}
span {
    font-weight:500;
}
.dropdown-item{
    &:active,&.active {  
        background-color: var(--theme-deafult);
    }
}
hr{
    background-color:$light-gray;
    color:$light-gray;
    opacity:1;
}
.theme-form{
    .col-form-label{
        color: $semi-dark;
    }
}
.form-label{
    color: $semi-dark;
    font-weight: 500;
}
code{
    color: $code-tag-color !important;
    background-color: $code-tag-bg-color;
    padding: $code-tag-padding;
    margin: $code-tag-margin;
    border-radius: $code-tag-border-radious;
}
blockquote{
    border-left: $blockquote-border;
    padding: $blockquote-padding;
}
blockquote{
    &.text-center{
        border: none;
        padding: $blockquote-padding;
    }
}
blockquote{
    &.text-end{
        border-left: none;
        border-right: $blockquote-border;
        padding: $blockquote-padding;
    }
}
:focus{
    outline: none;
}
.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
svg{
    vertical-align: baseline;
}
input {
    &:focus {
        outline-color: $transparent-color;
    }
}
.font-nunito {
    font-family: $font-nunito, $font-serif;
}

.font-roboto{
    font-family:$font-roboto;
}


.font-rubik {
    font-family: $font-rubik, $font-serif;
}

.media-widgets {
    .media-body {
        margin-bottom: 30px;
    }
}

.rating-star{
    display:flex;
    align-items:center;
    li{       
        i{
            color:$yellow;           
        }
    }
}



// setting rotation
@keyframes rotateInSetting {
    0% {
      transform-origin: center;
      transform: rotate(-200deg);
    }
    to {
      transform-origin: center;
      transform: none;
    }
  }

 .setting-primary, .setting-secondary, .setting-white{
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50px;
    
  svg {
      width: 15px;
      stroke-width: 2.5px;
      animation: rotateInSetting 1.5s ease infinite;     
  }
}

.setting-primary{
  background-color: rgba($primary-color, 0.1);
  svg{
    color: var(--theme-deafult);
  }
  i{
    color: var(--theme-deafult);
  }

  &:hover{
      background-color:var(--theme-deafult);
      svg{
          color:$white;
      }
      i{
          color: $white;
      }
  }

}
.setting-secondary{
    background-color: rgba($secondary-color, 0.1);
    svg{
        color: var(--theme-secondary) ;
    }
    i{
        color: var(--theme-secondary) ;
    }

    &:hover{
        background-color:var(--theme-secondary) ;
        svg{
            color:$white;
        }
        i{
            color: $white;
        }
    }

}
.setting-white{
    background-color: rgba($white, 0.1);
    svg{
        color:$white;
    }
    i{
        color:$white;
    }  
    &:hover{
        background-color:$white;
        svg{
            color:var(--theme-deafult);
        }
        i{
            color:var(--theme-deafult);
        }
    } 
}
.setting-bg-primary {
    background-color: rgba($primary-color, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    svg {
        width: 15px;
        color: var(--theme-deafult);;
        stroke-width: 2.5px;
        animation: rotateInSetting 1.5s ease infinite;
    }
}
//Custom css End

//Typography css start
.typography {
    h1,.h1,
    h2,.h2,
    h3,.h3,
    h4,.h4,
    h5,.h5,
    h6,.h6 {
        margin: 20px 0;
        margin-top: 0;
        &:last-child{
            margin-bottom: 0;
        }
    }
    small {
        padding-top: $small-tag-padding;
        color: $small-tag-color;
    }
}
pre{
    background-color: $pre-tag-bg-color;
    padding: $pre-tag-padding;
}

a{
    &:hover{
        text-decoration: none;
        color: var(--theme-deafult);
    }
}

.typography{
    .blockquote-footer{
        background-color:$light-background;
    }
}
//Typography css end

.owl-theme {
    .owl-dots {
        .owl-dot{
            span{
                background: lighten($primary-color, 20%);
            }
            &.active,&:hover {
                span {
                    background: var(--theme-deafult);
                }
            }
        }
    }
    .owl-nav{
        &.disabled {
            &+ .owl-dots {
                margin-bottom: -10px;
                margin-top: 25px;
            }
        }
    }
}
.click2edit{
    &~.note-editor{
        &.note-frame{
            margin-bottom: 30px;
        }
    }
}
.note-editor{
    p{
        color:$light-text;
    }
    &.note-frame {
        border-color: $light-gray;
    }
    i{
        color: var(--theme-deafult);
    }
    span{
        color: var(--theme-deafult);
    }

}
.note-editor{
    &.note-frame {
        border-color: $light-gray;
    }
}
// modal page
.modal {
    .modal-body {
        .card {
            box-shadow: none !important;
        }
    }
}
.modal-dialog{
    .modal-content{
        .modal-body{
            p{
                a{
                    margin-right: 0;
                }
            }
        }
    }
}


.clipboaard-container{
    p{
        font-weight:600;
    }
    h6{
        line-height: 1.8;
    }
}




// index page notify
.alert-theme{
    button{
        top: 24px !important;
        right: 30px !important;
        color: var(--theme-deafult);
    }
    span{
        + span{
            + span{
                border-left: 5px solid var(--theme-deafult);;
                background-color: $white;
                border-radius: 4px;
                box-shadow: 0 2px 14px -3px rgba($black, 0.2);
            }
        }
    }
    i{
        padding: 20px;
        padding-right: 0 !important;
        margin-right: 10px !important;
    }
    .progress {
        margin-top: -2px !important;
        height: 2px;
        .progress-bar {
            background-color: var(--theme-deafult);
        }
    }
}
.alert-copy{
    border: 1px solid var(--theme-deafult);;
    line-height: 1;
    display: inline-block;
    width: 300px;
    color: $white;
    background-color: var(--theme-deafult);;
    box-shadow: 3px 3px 5px 0 #9b9b9b;
    .close{
        box-shadow: none;
        color: $white;
        line-height: 1.4;
        font-weight: 100;
    }
}

.ace-editor {
    height: 400px;
    width: 100%;
}
.editor-toolbar{
    width: 100% !important;
}
.CodeMirror{
    top:0!important;
}


.border{
    border: 1px solid $light-gray !important;
}

// rangeslider
.irs-from, .irs-to, .irs-single {
    background: var(--theme-deafult);
}
.vue-slider-dot-handle{
    border:2px solid #24695c 
}
.vue-slider-process, .vue-slider-dot-tooltip-inner {
    border-color: var(--theme-deafult);;
    background-color: var(--theme-deafult);
}

.vue-slider:hover .vue-slider-process{
    background-color: var(--theme-deafult);
}
.vue-slider-mark-step-active {
    box-shadow: 0 0 0 2px var(--theme-deafult);
}

// fromwizard 
.form-wizard-vue{ 
    .fw-step-container{
        i{
            font-weight: bold;
        }
    }
    .fw-step-title{
        margin-top: 10px;
    }
    .fw-footer{
        padding: 10px 0;
    }
    .fw-body-content{
        padding: 20px 0;
    }
    .fw-step-active{
    background: var(--theme-deafult) !important;
     }

    .fw-body-list{
        .fw-list-progress-active{
            background: var(--theme-deafult) !important;
        }
        .fw-list-progress{
            height: 1px;
            background: $light-gray;
            width: 60%;
            left: 70%;
        }
    }
    .fw-step-checked{
        border: none;
    }

    .fw-btn{
        background: var(--theme-deafult) !important;
    }
}


.multiselect__tag{
    background: var(--theme-deafult);
}

.multiselect__tag-icon:after{
    color:$white
}

// medaia //
.media{
    display: flex;            
    align-items: flex-start;
}
.media-body{   
    flex: 1;
}
.row {
    > div {
        position: relative;
    }
}
[class*="col-"] {
    position: relative;
}
.cke_top{
    background-color:$light-background;
}
.cke_wysiwyg_frame,.cke_wysiwyg_div{
    background-color:$light-background;
}

// modal page css //
.modal-header,.modal-footer,.modal-content{    
    .btn-close{        
    position: absolute;
    top: 30px;
    right: 25px;
    }
}

.btn-close{
    &:focus{
        box-shadow:none;
    }
}

// photoswipe //
.my-gallery{
    &.gallery-with-description {
        img{
            border-color: $light-gray !important;
        }
    }
}

/**=====================
      01. General CSS Ends
==========================**/